using Microsoft.Xna.Framework;

namespace SolarWinds
{
    /// <summary>
    /// Base class for all games
    /// </summary>
    public class BaseGame : Game
    {
        private bool mIsRunning;

        public bool IsRunning
        {
            get { return mIsRunning; }
        }

        protected override void BeginRun()
        {
            mIsRunning = true;

            base.BeginRun();
        }

        protected override void EndRun()
        {
            base.EndRun();

            mIsRunning = false;
        }
    }
}